package cn.com.pojo;

public class User {
    private Integer id;
    private String userName;
    private String accountNumber;
    private String passWord;
    private String telphone;
    private String problem;
    private String answer;

    public User() {
    }

    public User(Integer id, String userName, String accountNumber, String passWord, String telphone, String problem, String answer) {
        this.id = id;
        this.userName = userName;
        this.accountNumber = accountNumber;
        this.passWord = passWord;
        this.telphone = telphone;
        this.problem = problem;
        this.answer = answer;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAccountNumber() {
        return accountNumber;
    }

    public void setAccountNumber(String accountNumber) {
        this.accountNumber = accountNumber;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public String getProblem() {
        return problem;
    }

    public void setProblem(String problem) {
        this.problem = problem;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", accountNumber='" + accountNumber + '\'' +
                ", passWord='" + passWord + '\'' +
                ", telphone='" + telphone + '\'' +
                ", problem='" + problem + '\'' +
                ", answer='" + answer + '\'' +
                '}';
    }
}
